package net.pinnoocle.playdao.entity;

import java.util.Date;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import lombok.Data;

/**
 * (AuthToken)表实体类
 *
 * @author ye
 * @since 2021-11-17 14:53:00
 */
@SuppressWarnings("serial")
@Data
@TableName("auth_token")
public class AuthToken extends Model<AuthToken> {

    @TableId(type = IdType.UUID)
    private String authorizationId;
    //授权方 appid
    private String authorizerAppid;
    //接口调用令牌
    private String authorizerAccessToken;
    //过期时间
    private Date expireDate;
    //刷新令牌
    private String authorizerRefreshToken;
    //创建时间
    private Date createdTime;
}